package com.jianxiu.bean;

public enum Roles {
    COMMON(1, "普通用户"),
    MAINTAIN(2, "维修人员"),
    ADMIN(3, "管理员");

    public int code;
    private String name;

    Roles(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getName() {
        return this.name;
    }
}
